package ru.isys.xml.template;

public final class Response
{
    private final String responseFirstPart ="<@response external=";
    private boolean isExternal=false;
    private final String responseSecondPart=" ; block>";
    public static final String CLOSE_TAG= "</@response>";
    String tag;
    
    public Response (boolean isExternal){
        this.tag=responseFirstPart+isExternal+responseSecondPart;
    }
    public String setExternal(boolean isExternal ){
        return this.tag=responseFirstPart+isExternal+responseSecondPart;
    }
    public boolean isExternal(){
        return this.isExternal;
    }
    public String getTag (){
        return this.tag;
    }
}
